PCA Index Dashboard Examples#
This script was last run at 2024-03-04 11:22:17.338224+00:00 (UTC)
In US/Central Time, this is 2024-03-04 05:22:17.338224-06:00
## Visualize Principal Component 1
pc1, loadings = pca_index.pca(dfn, module="scikitlearn")
pc1.plot();
# Simple version
fig = px.line(pc1)
fig.show()
vix = df.loc[:,['VIX']]
vix.plot()
<Axes: xlabel='DATE'>
fig = px.line(vix)
fig.show()